package com.crypto.oauth;

import com.google.gson.annotations.SerializedName;

public class ClientLoginResponse {

	@SerializedName("access_token")
	private String accessToken;
	@SerializedName("expires_in")
	private String expiresIn;
	@SerializedName("refresh_token")
	private String refreshToken;
	@SerializedName("token_type")
	private String tokenType;
	
	
	public ClientLoginResponse() {
		super();
	}
	
	public ClientLoginResponse(String accessToken, String expiresIn,
			String refreshToken, String tokenType) {
		super();
		this.accessToken = accessToken;
		this.expiresIn = expiresIn;
		this.refreshToken = refreshToken;
		this.tokenType = tokenType;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(String expiresIn) {
		this.expiresIn = expiresIn;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public String getTokenType() {
		return tokenType;
	}

	public void setTokenType(String tokenType) {
		this.tokenType = tokenType;
	}
	
	@Override
	public String toString() {
		return "access_token: " + this.accessToken + "\nexpires_in: " + this.expiresIn + "\nrefresh_token: " + this.refreshToken + "\ntoken_type: " + this.tokenType;
	}

}
